import http from '../../utils/http';
const getClass = (data: any) => {
  return http({
    url: '/getClass',
    method: 'post',
    data,
  });
};

const addClass = (data: any) => {
  return http({
    url: '/addClass',
    method: 'post',
    data,
  });
};

const delClass = (data: any) => {
  return http({
    url: '/delClass',
    method: 'post',
    data,
  });
};

const editClass = (data: any) => {
  return http({
    url: '/editClass',
    method: 'post',
    data,
  });
};
export { getClass, addClass, delClass, editClass };
